﻿namespace RegisterResolveReleasePattern
{
    public class Application
    {
        private readonly IWriter _writer;

        public Application(IWriter writer)
        {
            _writer = writer;
        }

        public void Execute(string input)
        {
            _writer.Write(input);
        }
    }
}